from langchain_core.messages import BaseMessage
from typing_extensions import TypedDict, Annotated
from langgraph.graph import add_messages


class AgentStatus(TypedDict):
    """
    for llm message history
    """
    messages: Annotated[list[BaseMessage], add_messages]

